package cn.cxj.org.mapper;

import cn.cxj.basic.mapper.BaseMapper;
import cn.cxj.org.domain.Department;

import java.util.List;

/**
 * 部门Mapper
 * @author 陈鑫杰
 */
public interface DepartmentMapper extends BaseMapper<Department> {
    // 基础的CRUD通过继承实现 剩余的自己写
    /**
     * 查询部门树
     * @return
     */
    List<Department> loadOneAndTwoLevelTree();
}
